This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
~Helga Rehipitexflar 12.May.03 09:31 AM a Web browser Notes Client6.0.1Windows 2000
Here is the code which is giving me problems:
The enviornment I am working with is multithreaded. My app extends NotesThread.
ses = new DXLSession();
// Initializing the session with user details.
ses.init(s.getUserName());
options = new DXLExportOptions();
options.setOutputCharacterSet(options.OUTPUTCHARSET_UTF8);
// this makes sure that the attachments are not exported .
options.setExportUninterpretedData(false);
DXLdb = new DXLDatabase(file, server);
DXLdb.open();
then I loop through each view get the view entries check if they are documents and for each I call
DXLExporter exporter = new DXLExporter(ses);
exporter.setExportOptions(options);
exporter.exportDXL(DXLdb, output,noteId);
// this is called for each loop, I dont have memory leaks as I use destroy on most of my notes objects properly.
exporter.destroy();
I get allocation failure qutie often, this just shows that I am trying to allocate big chunks of data. Probably this could provide some hints.
In my opinion, you can run the dxl exporter for mass exporting the database or a single view and then work with it in the local enviornment. But looping though each document and running the above steps seems to be a problem.
My heap size is
JavaMaxHeapSize=167108864
Can you also suggest me if its fine to increase the stack size eg.
JavaStackSize=4096000
If all this doesnt work then I will have to reimplement my code in c++ will that help as with java and dxl there is a native call , just to mention I have
JavaUserClasses=C:\progra~1\lotus\notes\DXLTools.jar
in my notes.ini.